{extend name="public/base"/}
{block name="body"}
<div class="main-box clearfix">
	<header class="main-box-header clearfix">
		<div class="pull-left">
			<h2>{$meta_title}</h2>
		</div>
		<div class="pull-right">
		</div>
	</header>
	<div class="main-box-body clearfix">
		<div class="table-responsive clearfix">
			<table class="table table-hover table-bordered">
				<tr>
					<th width="120" style="text-align: right;">标题</th>
					<td>{$info['title']}</td>
					<th width="120" style="text-align: right;">姓名</th>
					<td>{$info['name']}</td>
				</tr>
				<tr>
					<th width="120" style="text-align: right;">联系电话</th>
					<td>{$info['mobile']}</td>
					<th width="120" style="text-align: right;">email</th>
					<td>{$info['email']}</td>
				</tr>
				<tr>
					<th width="120" style="text-align: right;">内容</th>
					<td colspan="5">
						{$info['content']}
					</td>
				</tr>
				<tr>
					<th width="120" style="text-align: right;">图片</th>
					<td colspan="5">
						<img width="1200" src="{:get_cover($info['image'],'path')}">
					</td>
				</tr>
			</table>
		</div>
	</div>
	
	<!-- 配置文件 -->
	<script type="text/javascript" src="__PUBLIC__/plugs/ueditor/ueditor.config.js"></script>
	<!-- 编辑器源码文件 -->
	<script type="text/javascript" src="__PUBLIC__/plugs/ueditor/ueditor.all.min.js"></script>
	<div class="main-box-body clearfix">
		<div class="table-responsive clearfix">
			<form method="post" action="/admin/form/reply/model/reply_contact">
				<table class="table table-hover table-bordered">
					<tr>
						<td colspan="6">
							邮件回复
						</td>
					</tr>
					{volist name="attrs" id="item"}
					<tr>
						<th width="120" style="text-align: right;">{$item['title']}</th>
						<td colspan="5">{:widget('common/Form/show',array($item,[]))}</td>
					</tr>
					{/volist}
					<tr>
						<th width="120" style="text-align: right;">操作</th>
						<td colspan="5">
							<input type="hidden" name="form_id" value="2">
							<input type="hidden" name="subForm" value="{$formName}">
							<input type="hidden" name="cid" value="{$info['id']}">
							<input type="submit" value="邮件回复">
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</div>
{/block}
{block name="script"}

{/block}